package com.example.bzh.gamecat.ui.live.hot;

import com.example.bzh.gamecat.bean.hot.Hotbean;
import com.example.bzh.gamecat.httputils.hotlive.HotHttpHelper;

import java.util.HashMap;

import retrofit2.Callback;

/**
 * Created by peter on 2016/8/17.
 */
public class HotMode implements HotContract.Mode {

    @Override
    public void getData(HashMap<String, String> params, Callback<Hotbean> callback) {
        HotHttpHelper.newInstance().getService().getHotbean(params).enqueue(callback);
    }
}
